home *** CD-ROM | disk | FTP | other *** search
/ Inside Mac Games Volume 4 #9 / IMG 40 Sep 1996.iso / More Goodies / More for Your Game / Dark Forces / WIELDERS1DEV.GOB / SECBASE.INF next >
Text File  |  1996-07-31  |  9KB  |  298 lines

  1. INF 1.0
  2.  
  3. LEVELNAME SECBASE
  4.  
  5. items 22
  6.  
  7.  
  8. /* This elevator changes the light level of a sector. The light level */
  9. /* stays at both stops for 1 second. */
  10.  
  11. item: sector    name: change_light
  12.         seq
  13.                 class: elevator change_light
  14.                 stop: 10 1
  15.                 stop: 30 1
  16.                 speed: 50
  17.         seqend
  18.  
  19.  
  20. /* This elevator moves a sector back and forth. You move */
  21. /* with the sector when you stand on it. Elevator morph_move1 would */
  22. /* not move you with the sector. */
  23. /* The sector remains at both stops for 1 second. */
  24.  
  25. item: sector    name: morph_move2
  26.         seq
  27.                 class: elevator morph_move2
  28.                 event_mask: 0
  29.                 stop: 0 1
  30.                 stop: 8 1
  31.                 angle: 180
  32.                 speed: 25
  33.         seqend
  34.  
  35.  
  36. /* This elevator spins a sector. You spin with the sector when you */
  37. /* stand on it. Elevator morph_spin1 and elevator rotate_wall would */
  38. /* not spin you with the sector. */
  39. /* The stops can be removed to make the sector spin continuously. */
  40.  
  41. item: sector    name: morph_spin2
  42.         seq
  43.                 class: elevator morph_spin2
  44.                 event_mask: 0
  45.                 stop: 0 1
  46.                 stop: 90 1
  47.                 stop: 180 1
  48.                 stop: 270 1
  49.                 stop: 360 1
  50.                 center: 64 304
  51.                 speed: 25
  52.         seqend
  53.  
  54.  
  55. /* This elevator moves the ceiling up and down. If you */
  56. /* want the ceiling to crush you, give the sector flag 1 bit 512 */
  57. /* (crushing sector). */
  58. /* The ceiling remains at each stop for 1 second. */
  59.  
  60. item: sector    name: move_ceiling
  61.         seq
  62.                 class: elevator move_ceiling
  63.                 event_mask: 0
  64.                 stop: 14 1
  65.                 stop: 2 1
  66.                 speed: 10
  67.         seqend
  68.  
  69.  
  70. /* This elevator moves the floor up and down. You can bring this elevator */
  71. /* down by nudging it from the outside. It holds at stop 0 and remains */
  72. /* at stop 1 for 2 seconds. */
  73. /* Elevator basic is the same thing as this. */
  74.  
  75. item: sector    name: move_floor
  76.         seq
  77.                 class: elevator move_floor
  78.                 event_mask: 32
  79.                 stop: 8 hold
  80.                 stop: 2 2
  81.                 speed: 10
  82.         seqend
  83.  
  84.  
  85. /* This elevator moves the floor and ceiling up and down together. Notice */
  86. /* that stops affect the floor altitude and the ceiling just moves with */
  87. /* the floor. */
  88. /* The floor remains at both stops for 1 second. */
  89.  
  90. item: sector    name: move_fc
  91.         seq
  92.                 class: elevator move_fc
  93.                 event_mask: 0
  94.                 stop: 10 1
  95.                 stop: 2 1
  96.                 speed: 10
  97.         seqend
  98.  
  99.  
  100. /* This elevator will scroll the floor texture. You will */
  101. /* move with the floor if you stand on the elevator. Stops can be added */
  102. /* to make the floor scroll in "jerks", otherwise it scrolls */
  103. /* continuously. */
  104.  
  105. item: sector    name: scroll_floor
  106.         seq
  107.                 class: elevator scroll_floor
  108.                 event_mask: 0
  109.                 angle: 90
  110.                 speed: 50
  111.         seqend
  112.  
  113.  
  114. /* This elevator makes a sector a door. It can be opened by nudging from */
  115. /* the outside. It stays open for 2 seconds. You need the blue key to open */
  116. /* this door. */
  117.  
  118. item: sector    name: door
  119.         seq
  120.                 class: elevator door
  121.                 key: blue
  122.         seqend
  123.  
  124.  
  125. /* This elevator makes a sector a door that opens downwards. It can be */
  126. /* opened by nudging from the outside. It stays open for 2 seconds. You */
  127. /* need the red key to open this door. */
  128.  
  129. item: sector    name: door_mid
  130.         seq
  131.                 class: elevator door_mid
  132.                 addon: 0
  133.                 key: red
  134.                 speed: 10
  135.                 addon: 1
  136.                 key: red
  137.                 speed: 10
  138.         seqend
  139.  
  140.  
  141. /* This elevator causes the ceiling to move up and down, but is used */
  142. /* here as a door as it is in many of the original levels. It stays */
  143. /* open for 2 seconds and can be opened by nudging from the outside. */
  144. /* You need the yellow key to open this door. */
  145.  
  146. item: sector    name: inv
  147.         seq
  148.                 class: elevator inv
  149.                 event_mask: 32
  150.                 stop: 0 hold
  151.                 stop: 8 2
  152.                 speed: 10
  153.                 key: yellow
  154.         seqend
  155.  
  156.  
  157. /* This elevator causes the light level of walls to change. Only */
  158. /* a wall which has flag 1 bit 8 (allow change wall light) will change */
  159. /* - any other walls in the sector won't. */
  160.  
  161. item: sector    name: wall_light
  162.         seq
  163.                 class: elevator change_wall_light
  164.                 stop: 0 0
  165.                 stop: 32 0
  166.                 speed: 50
  167.         seqend
  168.  
  169.  
  170. /* This elevator causes a wall texture to scroll. Only a wall with */
  171. /* flag 1 bit 64/128/256/512 will scroll, depending on whether it */
  172. /* is a top texture, a bottom texture, a mid texture or a sign texture. */
  173. /* Any other walls in the sector won't scroll. */
  174. /* Stops can be added to make the texture scroll in "jerks". Otherwise */
  175. /* the texture just scrolls continuously. */
  176.  
  177. item: sector    name: scroll_wall
  178.         seq
  179.                 class: elevator scroll_wall
  180.                 event_mask: 0
  181.                 angle: 0
  182.                 speed: 50
  183.         seqend
  184.  
  185. /* These are teleporter chutes. One will teleport you down to a lower */
  186. /* layer and the other one will teleport you back up. Note that the */
  187. /* target must be directly above or below the chute. */
  188.  
  189. item: sector    name: chute1
  190.         seq
  191.                 class: teleporter chute
  192.                 target: destination1
  193.         seqend
  194.  
  195. item: sector    name: chute2
  196.         seq
  197.                 class: teleporter chute
  198.                 target: destination2
  199.         seqend
  200.  
  201.  
  202. /* This trigger can be applied to a line or sector. It cannot be applied to */
  203. /* a switch. */
  204. /* Here is applied to a sector. It is triggered by entering the */
  205. /* sector. It causes its client to move through its stops until it reaches */
  206. /* a "hold" stop. Adding a message could change the way it affects its */
  207. /* client. */
  208.  
  209. item: sector    name: trigger_standard
  210.         seq
  211.                 class: trigger standard
  212.                 event_mask: 4
  213.                 client: elevator1
  214.         seqend
  215.  
  216. /* The client of the above trigger. */
  217.  
  218. item: sector    name: elevator1
  219.         seq
  220.                 class: elevator move_floor
  221.                 event_mask: 0
  222.                 stop: 8 hold
  223.                 stop: 4 2
  224.                 speed: 10
  225.         seqend
  226.  
  227.  
  228. /* This trigger has to be applied to a switch. Here it causes its client */
  229. /* to move through its stops until it reaches a "hold" stop. Adding a message */
  230. /* could change the way it affects its client. */
  231.  
  232. item: line      name: trig_room      num: 13
  233.         seq
  234.                 class: trigger switch1
  235.                 event_mask: 16
  236.                 client: elevator2
  237.         seqend
  238.  
  239. /* The client of the above trigger. The message tells the switch that it is */
  240. /* ready to be pressed again. */
  241.  
  242. item: sector    name: elevator2
  243.         seq
  244.                 class: elevator move_floor
  245.                 event_mask: 0
  246.                 stop: 8 hold
  247.                 message: 0 trig_room(13) done
  248.                 stop: 4 2
  249.                 speed: 10
  250.         seqend
  251.  
  252. /* This trigger has to be applied to a switch. Here it causes its client */
  253. /* to move through its stops until it reaches a "hold" stop. Adding a message */
  254. /* could change the way it affects its client. This trigger can only be used */
  255. /* once. */
  256.  
  257. item: line      name: trig_room      num: 11
  258.         seq
  259.                 class: trigger single
  260.                 event_mask: 16
  261.                 client: elevator3
  262.         seqend
  263.  
  264. /* The client of the above trigger. Even though a "done" message is sent, */
  265. /* the switch can't be used again because it is a trigger single. */
  266.  
  267. item: sector    name: elevator3
  268.         seq
  269.                 class: elevator move_floor
  270.                 event_mask: 0
  271.                 stop: 8 hold
  272.                 message: 0 trig_room(11) done
  273.                 stop: 4 2
  274.                 speed: 10
  275.         seqend
  276.  
  277.  
  278. /* This trigger has to be applied to a switch. It toggles its client between */
  279. /* stops. */
  280.  
  281. item: line      name: trig_room       num: 9
  282.         seq
  283.                 class: trigger toggle
  284.                 event_mask: 16
  285.                 client: elevator4
  286.         seqend
  287.  
  288. /* The client of the above trigger. */
  289.  
  290. item: sector    name: elevator4
  291.         seq
  292.                 class: elevator move_floor
  293.                 event_mask: 0
  294.                 stop: 8 hold
  295.                 stop: 4 hold
  296.                 speed: 10
  297.         seqend
  298.